import AbstractCanvas from './canvas'
import config from '@/config'
import WaterModel from '@/model/water'

class Water extends AbstractCanvas<WaterModel> {
    public render(): void {
        this.createModels(config.water.num, WaterModel)
        this.renderModels()
    }

    protected setCanvasId(): void {
        this.canvas.id = 'canvas-water'
    }
}

export default new Water()
